package com.fa4j.product.item.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fa4j.common.data.model.Base;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 实体-商品属性
 *
 * @since 2025-11-22 21:06:24
 */
@Data
@TableName(value = "t_product_item_attr", autoResultMap = true)
@Schema(description = "商品属性")
public class ItemAttr extends Base {

    @TableId(type = IdType.AUTO)
    @Schema(description = "主键")
    private Integer id;

    @Schema(description = "商品ID")
    private Integer itemId;

    @Schema(description = "商品规格ID")
    private Integer specId;

    @Schema(description = "商品属性名称")
    private String attrName;

    @Schema(description = "商品属性值")
    private String attrValue;

    @Schema(description = "操作人ID")
    private Long operatorId;

}
